package com.xiangyang.service;
import com.xiangyang.entity.*;
import com.xiangyang.entity.dto.Result;

import java.util.List;
import java.util.Random;

public interface IRegistrationService {
    Result addPatientDetails(PatientInformation patientInformation);//添加挂号信息
    Result updatePatientDetails(PatientInformation patientInformation);
    Result getPatientDetailsById();//获取挂号信息
    Result getPatientDetailsById(String patientName, String patientPhone);//获取挂号信息
    Result addCaseHistory(Long PatientId,String symptom,String Diagnosis);//新增症状和诊断结果
    Result updateCaseHistory(Long caseHistoryId,String symptom,String Diagnosis);//根据病例id修改就诊信息
    Result addPrescription(PatientRegistration patients);//修改诊断信息，添加处方
    Result getPrescriptionByRegistrationId(String PatientName, String PatientPhone);//根据姓名和电话获取就诊信息
    Result getallPrescription();//获取所有病例
    Result getprescription(Long caseHistoryId);//通过就诊id获取处方
}
